package org.example.leetcode.common._enum;

public enum LoginTypeEnum implements BaseEnum<String,String>{
    PASSWORD("1","PasswordLogin"),
    MAIL("2","MailLogin");
    private LoginTypeEnum(String code,String name){
        this.code=code;
        this.name=name;
    }
    private String code;
    private String name;
    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
}
